<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <link href="#{facesContext.externalContext.requestContextPath}/resources/css/bluesky/skin.css" rel="stylesheet" type="text/css"/>
        <link href="#{facesContext.externalContext.requestContextPath}/resources/css/nemesis.css" rel="stylesheet" type="text/css"/>
        <title>Nemesis</title>
    </h:head>
    <h:body>
        <p:growl/>
        <h:form style="width: 150px; margin: 170px auto 0;">
            <p:panel id="login" header="Nemesis">
                <h:panelGrid>
                    <h:outputLabel value="Login"/>
                    <h:inputText value="#{login.login}"/>
                    <h:outputLabel value="Senha"/>
                    <h:inputSecret value="#{login.senha}"/>
                    <h:column/>
                    <h:commandButton value="Enviar" 
                                     style="cursor: pointer;"
                                     action="#{login.logon}"/>
                </h:panelGrid>
            </p:panel>
        </h:form>
    </h:body>
</html>

